using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DalEx
{
    public class DbCountryEx : Dal.DbCountryDal
    {
        public static Model.DbCountry GetModel(string strQuery)
        {
            Model.DbCountry dbCountry = null;
            DataSet ds = Dal.DbCountryDal.Select(strQuery);
            if (SqlHelper.HasRow(ds))
            {
                dbCountry = new Model.DbCountry(ds.Tables[0].Rows[0]);
            }
            return dbCountry;
        }
    }
}
